package com.lib.repository;

import com.lib.model.RentalAgentQRCode;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by duqingxiang on 17/5/24.
 */
@Repository
public interface RentalAgentQRCodeRepository extends JpaRepository<RentalAgentQRCode,Long> {

    public RentalAgentQRCode findById(int id);

    public RentalAgentQRCode findRentalAgentQRCodeByOpenId(String openId);



}
